package com.epfresh.bean;

import java.util.List;

/**
 * Author: Chen
 * Date: 2019/1/30
 * Desc:
 */
public class MerchantEntity {
    List<AreaBean> marketAreas;

    public List<AreaBean> getMarketAreas() {
        return marketAreas;
    }

    public void setMarketAreas(List<AreaBean> marketAreas) {
        this.marketAreas = marketAreas;
    }

    public static class AreaBean {

        private boolean more;
        private String name;
        private int id;
        private int sort;
        private int marketId;
        private List<StoresBean> stores;

        public boolean isMore() {
            return more;
        }

        public void setMore(boolean more) {
            this.more = more;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getMarketId() {
            return marketId;
        }

        public void setMarketId(int marketId) {
            this.marketId = marketId;
        }

        public List<StoresBean> getStores() {
            return stores;
        }

        public void setStores(List<StoresBean> stores) {
            this.stores = stores;
        }

        public static class StoresBean {

            private String id;//店铺ID
            private String areaId;//区ID
            private String name;//店铺名称
            private String headerImage;//店铺门头照
            private String onShelvesProductCount;//商品数量
            private String orderCount;//订单量
            private String goodCommentsRate;//好评率
            private String description;//店铺描述
            private int recType;//推荐类型，2:收藏的(已关注)  1:最近购买  0:普通的  -1:休息的
            private boolean isLast = false;//是否为最后一个
            private String groupName;//每组所在区的区名称
            private boolean haveMore;
            private String stall;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getAreaId() {
                return areaId;
            }

            public void setAreaId(String areaId) {
                this.areaId = areaId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getHeaderImage() {
                return headerImage;
            }

            public void setHeaderImage(String headerImage) {
                this.headerImage = headerImage;
            }

            public String getOnShelvesProductCount() {
                return onShelvesProductCount;
            }

            public void setOnShelvesProductCount(String onShelvesProductCount) {
                this.onShelvesProductCount = onShelvesProductCount;
            }

            public String getOrderCount() {
                return orderCount;
            }

            public void setOrderCount(String orderCount) {
                this.orderCount = orderCount;
            }

            public String getGoodCommentsRate() {
                return goodCommentsRate;
            }

            public void setGoodCommentsRate(String goodCommentsRate) {
                this.goodCommentsRate = goodCommentsRate;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public int getRecType() {
                return recType;
            }

            public void setRecType(int recType) {
                this.recType = recType;
            }

            public boolean isLast() {
                return isLast;
            }

            public void setLast(boolean last) {
                isLast = last;
            }

            public String getGroupName() {
                return groupName;
            }

            public void setGroupName(String groupName) {
                this.groupName = groupName;
            }

            public boolean isHaveMore() {
                return haveMore;
            }

            public void setHaveMore(boolean haveMore) {
                this.haveMore = haveMore;
            }

            public String getStall() {
                return stall;
            }

            public void setStall(String stall) {
                this.stall = stall;
            }
        }
    }
}
